package com.design.pattern.bridge;

/**
 * Created by Administrator on 2016/5/18.
 * 普通消息
 */
public class CommonMessage extends AbstactMessge {
    /**
     * 构造方法，传入实现部分的对象
     *
     * @param impl
     */
    protected CommonMessage(MessageImplementor impl) {
        super(impl);
    }

    @Override
    public void sendMessage(String message, String toUser) {
        //对于普通消息，直接调用父类方法即可
        super.sendMessage(message, toUser);
    }
}
